<script setup lang="ts">
import { RouterLink, RouterView } from "vue-router";
import { Tabbar, TabbarItem } from "vant";

</script>

<template>
  <div class="container">
    <!-- 路由出口 -->
    <router-view></router-view>

    <!-- 底部导航栏 -->

    <van-tabbar v-show="!$route.meta.hidden" route>
      <van-tabbar-item replace to="/shouye" icon="wap-home"> 首页 </van-tabbar-item>
      <van-tabbar-item replace to="/fenlei" icon="new-arrival"> 分类 </van-tabbar-item>
      <van-tabbar-item replace to="/gouwuche" icon="shopping-cart"> 购物车 </van-tabbar-item>
      <van-tabbar-item replace to="/wode" icon="manager"> 我的 </van-tabbar-item>
    </van-tabbar>






  </div>
</template>





<style lang="scss">
html,
body,
#app,
.container {
  height: 100%;
}

html {
  font-size: 26.6666666666vw;
}

body {
  font-size: 12px;
}
</style>
